package com.dys.mapper;

import com.dys.entity.District;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @className: com.dys.mapper.DistrictMapper
 * @description: 区域mapper
 * @author: pine cone
 * @version: v1.0.0
 * @createTime: 2024/04/08 22:41
 */
@Mapper
public interface DistrictMapper {

    /**
     * 列出所有的区域信息
     *
     * @return 所有的区域信息
     */
    @Select("select * from district")
    List<District> findAll();
}
